package thesystem;

import org.testng.annotations.Test;

/**
 * @author
 */
public class CalcTime {

    @Test
    private void t1() {

        for (int i = 0; i < 6; i++) {
            System.out.println(System.nanoTime());
        }

        long t1 = System.nanoTime();
        System.out.println(t1);
        long t2 = System.nanoTime();
        System.out.println(t2 - t1);
    }

}
